package com.wispx.gateway.common.exception;

import com.wispx.gateway.common.enums.ResponseCode;

import java.io.Serial;

/**
 * 限流异常
 */
public class LimitedException extends GatewayException {

    @Serial
    static final long serialVersionUID = -7034897190745766939L;

    public LimitedException() {
    }

    public LimitedException(String message, ResponseCode code) {
        super(message, code);
    }

    public LimitedException(String message, Throwable cause, ResponseCode code) {
        super(message, cause, code);
    }
}
